<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'usergrouptasklist.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet"
			href="<%=request.getContextPath()%>/css/common.css" type="text/css" />
		<script type='text/javascript'
			src='<%=request.getContextPath()%>/js/sorttable.js'></script>
		
	</head>

	<body>
		<div id="page_container">
			<div id="page_nav">
				<%@include file="banner.jsp"%>
			</div>
			<h2>
				发送的任务列表
			</h2>
			<table class="table_common sortable" width="600">
				<tr class="row_head">
					<th>
						接受者组别
					</th>
					<th>
						接受者姓名
					</th>
					<th>
						发送时间
					</th>
					<th>
						编辑
					</th>
					<th>
						删除
					</th>
				</tr>
				<tr>
					<s:iterator value="tasklist" status="st">
						<s:if test="#st.odd==true">
							<tr class="row_odd" >
						</s:if>
						<s:else>
							<tr class="row_even" >
						</s:else>
						<td>
							<s:property value="systemusertaskacceptergroupname" />
						</td>
						<td>
							<s:property value="systemusertaskaccepter" />
						</td>
						<td>
							<s:date format="yyyy-MM-dd hh:MM:ss" name="systemusertaskassigntime" />
						</td>
						<td>
							<a
								href="systemusergrouptaskallocation/selectTaskForUpdate.action?systemusertaskid=<s:property value="systemusertaskid" />"><img
									src="<%=request.getContextPath()%>/images/114.gif" /> </a>
						</td>
						<td>
							<a
								href="systemusergrouptaskallocation/deletetask.action?systemusertaskid=<s:property value="systemusertaskid" />">
								<img onclick="javascript: return window.confirm('确定删除吗?')"
									src="<%=request.getContextPath()%>/images/083.gif" /> </a>
						</td>

					</s:iterator>
				</tr>
			</table>
			<div class="navigator">
				<table>
					<tr>
						<td colspan="9">
							共
							<s:property value="totalRows" />
							条&nbsp; 第
							<s:property value="currentPage" />
							页&nbsp; 共
							<s:property value="pager.getTotalPages()" />
							页&nbsp;
							<a
								href="<s:url value="/systemusergrouptaskallocation/listSentTask.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'first'"/>
       
      </s:url>">首页</a>
							<a
								href="<s:url value="/systemusergrouptaskallocation/listSentTask.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'previous'"/>
      </s:url>">上一页</a>
							<a
								href="<s:url value="/systemusergrouptaskallocation/listSentTask.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'next'"/>
      </s:url>">下一页</a>
							<a
								href="<s:url value="/systemusergrouptaskallocation/listSentTask.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'last'"/>
      </s:url>">尾页</a>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</body>
</html>
